In alloc_vcpu_struct, after doing a memset on the new allocated vcpu, we
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 28 Nov 2005 15:24:14 +0000 (16:24 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 28 Nov 2005 15:24:14 +0000 (16:24 +0100)
commitbe06e2c74bf49e2dd9d01d4d970e6a4082905820
tree70971963d65de7ee6ae1e5c208d13d02712d2d7e
parent298ec42fe70f6c45d36e05509b99b39ed088b2d9
In alloc_vcpu_struct, after doing a memset on the new allocated vcpu, we
do a memcpy from idle0_vcpu.arch to arch of the new vcpu, which causes
monitor_pagetable is set to a none 0 value.  For VMX guest which is
using external shadow mode, this is not what we really need. the
previous patch is OK for UP VMX guest, but failed on SMP VMX guest.

Signed-off-by: Xin Li <xin.b.li@intel.com>
xen/arch/x86/domain.c
xen/arch/x86/vmx.c